package com.yby.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yby.common.utils.PageUtils;
import com.yby.common.utils.R;
import com.yby.mall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author yangbingying
 * @email 2771355658@qq.com
 * @date 2021-07-09 20:49:20
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    R queryPage(Integer catId,Integer page, Integer limit, String key);

    R getInfo(Long attrGroupId);

    R attrRelationList(Long attrGroupId);

    R queryPageNoAttr(Long attrGroupId, Integer page, Integer limit, String key);

    R deleteAttrRelation(List<Map<String, Object>> list);


    R insertAttrRelation(List<Map<String, Object>> list);

    R withAttrList(Long catalogId);

}

